//
//  PageContro.h
//  AdImage
//
//  Created by Burn on 2019/7/23.
//  Copyright © 2019 menksoft. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN


typedef NS_ENUM(NSUInteger, Location) {
    LocationCenter,
    LocationLeft,
    LocationRight
};

@interface PageContro : UIView

@property(assign,nonatomic) NSInteger currentPage;  //  current
@property(strong,nonatomic) UIColor *pageIndicatorTintColor;    // 未选中
@property(strong,nonatomic) UIColor *currentPageIndicatorTintColor;    // 选中
@property(assign,nonatomic,getter=isPageHidden) BOOL hidesForSinglePage;    //  只有一个页面隐藏
@property(assign,nonatomic) NSInteger numberOfPages;    //  number Of page
@property(assign,nonatomic) Location location;

@end

NS_ASSUME_NONNULL_END
